//
//  OneChatVipActivationService.m
//  chatModule
//
//  Created by sy on 2025/5/22.
//

#import "OneChatVipActivationService.h"
#import <oneCommonLib/MSUserManager.h>

@implementation OneChatVipActivationService
- (NSString*)port{
    return @"/app_server/v1/config_chat/chat_vip_order_activation";
}
- (NSString*)domain{
    return DHFMAINURL;
}
- (NSDictionary*)requstBody{
    return [self modelForDict];
}
- (void)headers{
    userInfoModel *infomodel = [MSUserManager sharedManager].userModel;
    if (infomodel.token.length>0) {
        [PPNetworkHelper setValue:[NSString stringWithFormat:@"bearer %@",infomodel.token] forHTTPHeaderField:@"Authorization"];
    } else {
        [PPNetworkHelper setValue:[NSString stringWithFormat:@""] forHTTPHeaderField:@""];
    }
}
@end
